package com.example.swim.Utils;

import lombok.Data;

/**
 * @author LiYa
 * @create 2022-11-10 18:33
 */
@Data
public class R {
    Boolean flag;
    Object data;
    String msg;

    public R(Boolean flag, Object data) {
        this.flag = flag;
        this.data = data;
    }

    public R (Boolean flag,String msg){
        this.flag=flag;
        this.msg=msg;
    }
}
